libxl: Avoid returning empty path from libxl_console_get_tty
authorAnthony PERARD <anthony.perard@citrix.com>
Thu, 15 Jan 2015 17:55:56 +0000 (17:55 +0000)
committerIan Campbell <ian.campbell@citrix.com>
Mon, 19 Jan 2015 17:21:31 +0000 (17:21 +0000)
commit260dfd39681b4e9b236e1e211b09dce8c5408e91
treef6ef3b2b3ca7ebf5cae01e32e6ceb86ee37402b0
parent0e560dfc48e7df189742525dd12a1ef691188a3b
libxl: Avoid returning empty path from libxl_console_get_tty

This could happen if xenconsoled have not populate the xenstore key yet.

Signed-off-by: Anthony PERARD <anthony.perard@citrix.com>
Acked-by: Ian Campbell <ian.campbell@citrix.com>
tools/libxl/libxl.c